import request from "@/utils/request.js"

export const selectTeacherDetail = data => {
  return request.request({
    url: "/teach-user/selectUserByJobNumbermenhu",
    method: "post",
    data//post请求用data,get用params
  })
}

// http://59.173.18.239:2051/upload-project/upload/photoUpload

//上传头像
export const getphotoUpload = data => {
  return request.request({
    url: "/upload-project/upload/photoUpload",
    method: "post",
    data//post请求用data,get用params
  })
}

// export const updateTeacher = data => {
//   return request.request({
//     url: "/teach-user/teacher/updateTeacher",
//     method: "post",
//     data//post请求用data,get用params
//   })
// }
// http://59.173.18.239:2051/teach-user/updateUserDetail


export const updateTeacher = data => {
  return request.request({
    url: "/teach-user/updateUserDetail",
    method: "post",
    data//post请求用data,get用params
  })
}


